const router = require('koa-router')()
const { adoptPet, adoptPetSuccess, removeAdopt } = require("../controller/adoptController")

// 领养宠物
router.post('/adopt', adoptPet)
// 成功领养
router.post('/adopt/success', adoptPetSuccess)
// 取消领养
router.delete('/adopt/remove', removeAdopt)

module.exports = router